package com.rtx.wcs.std.bean.dto;

public class RtxWcsResponse {

	protected String flag;//success|failure
	protected String code;//响应码
	protected String message;//响应信息
	
	public void setSuccess(String message) {
		this.flag="success";
		this.code="200";
		this.message=message;
	};
	
	public void setFailure(String message) {
		this.flag="failure";
		this.code="500";
		this.message=message;
	};
	
	public String getFlag() {
		return flag;
	}
	public void setFlag(String flag) {
		this.flag = flag;
	}
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

}
